<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html;charset=UTF-8"%>

<html>

<head>

    <title>Title</title>

</head>

<body>



<a href="/page/add" style="text-align:right;">增加</a>

<%--<span>用户：<%=session.getAttribute("sno")%></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--%>

<%--<span>浏览量：<%=application.getAttribute("count")%></span>--%>

<table>

    <tr>

        <td>姓名</td>

        <td>地址</td>

        <td>电话号码</td>

        <td></td>

    </tr>

    <%--<%for(Resume s: ){%>--%>

    <c:forEach items="${resumeList}" var="resume">

    <tr>

        <td>${resume.name}</td>

        <td>${resume.address}</td>

        <td>${resume.phone}</td>

        <td><a href=/page/update?id=${resume.id}&&name=${resume.name}&&address=${resume.address}&&phone=${resume.phone}">修改</a>

            <a href="resume/${resume.id}">删除</a></td>

    </tr>

    </c:forEach>
<%--<% } %>--%>

</table>



</body>

</html>